<style type="text/css">
     .table-btn-separator{
   
  }
</style>
<div id="tiretool">
    <table>
        <tr>
            <if condition="$_SESSION[C('USER_AUTH_KEY')] gt 0 and $_SESSION[C('USER_AUTH_KEY')] lt 3">
                <td>
                    <a href="#" id="aaa1" class="easyui-linkbutton" onclick='show_add()' data-options="iconCls:'icon-standard-folder-page',plain:true">添加</a>
                    <a href="#" class="easyui-linkbutton" onclick='dele()' data-options="iconCls:'icon-standard-page-white-delete',plain:true">删除</a>
                    <a href="#" class="easyui-linkbutton" onclick='show_edit()' data-options="iconCls:'icon-standard-application-edit',plain:true">编辑</a></td>
                    <td>
                        <div class="datagrid-btn-separator"></div>
                    </td>
            </if>
            <td>
             <div style="float:left;">
             <span style="padding-left: 6px;">请输入打印数量：</span>
                   
                    <input id="num" class="easyui-numberspinner" style="width:60px;"  
        required="required" data-options="min:1,max:99,editable:true,value:1">
                </div>
                 <a href="#" class="easyui-linkbutton" onclick="printshow()" data-options="iconCls:'icon-standard-printer-add',plain:true">打印预览</a>
            </td>
            <td>
                <div class="datagrid-btn-separator"></div>
            </td>
        
           
            <td>

          <!--   <a href="#" class="easyui-linkbutton" onclick="printshow()" data-options="iconCls:'icon-standard-magnifier',plain:true">搜索</a> -->

                <div style="float:right;">
                    <input id='searchbox' class="easyui-searchbox" data-options="" style="width:400px;"></input>
                </div>
                <div id="tiremm" style="width:400px">
                    <div data-options="name:'th',iconCls:'icon-standard-table-edit',selected:true">零件图号</div>
                    <div data-options="name:'coder',iconCls:'icon-standard-date-magnify'">关系码</div>
                    <div data-options="name:'mc',iconCls:'icon-standard-table-multiple'">零件名称</div>
                    <div data-options="name:'gys',iconCls:'icon-standard-tag-blue'">供应商</div>
                </div>
            </td>
                <td>
               <!--  <a href="#" class="easyui-linkbutton" onclick="excel()" data-options="iconCls:'icon-standard-page-white-excel',plain:true">导出</a> -->
                <!-- <a href="#" class="easyui-linkbutton" onclick="view()" data-options="iconCls:'icon-standard-application-view-gallery',plain:true">查看</a>
                <a href="#" class="easyui-linkbutton" onclick="show_pinlun()" data-options="iconCls:'icon-standard-building-add',plain:true">评论</a> -->
            </td>
            <td>
                <div class="datagrid-btn-separator"></div>
            </td>
             <td>
                <a href="#" class="easyui-linkbutton" onclick="reload()" data-options="iconCls:'icon-standard-arrow-refresh',plain:true">刷新</a>
            </td>
            <td>
                <div class="datagrid-btn-separator"></div>
            </td>
        </tr>
        <tr class="datagrid-toolbar">
        <if condition="$_SESSION[C('USER_AUTH_KEY')] gt 0 and $_SESSION[C('USER_AUTH_KEY')] lt 3">
          <td colspan='9'>
                       <div class="datagrid-toolbar"></div>
             </td>
            <else />
            <td colspan='7'>
                       <div class="datagrid-toolbar"></div>
             </td>
        </if>
           
           
            
        </tr>
         <tr>
   <if condition="$_SESSION[C('USER_AUTH_KEY')] gt 0 and $_SESSION[C('USER_AUTH_KEY')] lt 3">
          <td colspan='9'>
                      <label for="coder">关系码:</label>  
        <input class="easyui-validatebox" type="text" name="coder" id="scoder" data-options="" />
                      <label for="coder">零件图号:</label>  
        <input class="easyui-validatebox" type="text" name="th" id="sth" data-options="" />
                      <label for="coder">零件名称:</label>  
        <input class="easyui-validatebox" type="text" name="mc" id="smc" data-options="" />
                      <label for="coder">供应商:</label>  
        <input class="easyui-validatebox" type="text" name="gys" id="sgys" data-options="" />   
<a href="#" class="easyui-linkbutton" onclick="doSearch()" data-options="iconCls:'icon-search',plain:true">搜索</a>

             </td>
            <else />
            <td colspan='7'>
                        <label for="coder">关系码:</label>  
        <input class="easyui-validatebox" type="text" name="coder" id="scoder" data-options="" />
                      <label for="coder">零件图号:</label>  
        <input class="easyui-validatebox" type="text" name="th" id="sth" data-options="" />
                      <label for="coder">零件名称:</label>  
        <input class="easyui-validatebox" type="text" name="mc" id="smc" data-options="" />
                      <label for="coder">供应商:</label>  
        <input class="easyui-validatebox" type="text" name="gys" id="sgys" data-options="" />   
<a href="#" class="easyui-linkbutton" onclick="doSearch()" data-options="iconCls:'icon-search',plain:true">搜索</a>
             </td>
        </if>
           
        </tr>
    </table>
</div>
<script type="text/javascript">
  
</script>